package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ZhonggaofengxianquMapper;
import com.ruoyi.system.domain.Zhonggaofengxianqu;
import com.ruoyi.system.service.IZhonggaofengxianquService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-10-28
 */
@Service
public class ZhonggaofengxianquServiceImpl implements IZhonggaofengxianquService 
{
    @Autowired
    private ZhonggaofengxianquMapper zhonggaofengxianquMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public Zhonggaofengxianqu selectZhonggaofengxianquById(String id)
    {
        return zhonggaofengxianquMapper.selectZhonggaofengxianquById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param zhonggaofengxianqu 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<Zhonggaofengxianqu> selectZhonggaofengxianquList(Zhonggaofengxianqu zhonggaofengxianqu)
    {
        return zhonggaofengxianquMapper.selectZhonggaofengxianquList(zhonggaofengxianqu);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param zhonggaofengxianqu 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertZhonggaofengxianqu(Zhonggaofengxianqu zhonggaofengxianqu)
    {
        return zhonggaofengxianquMapper.insertZhonggaofengxianqu(zhonggaofengxianqu);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param zhonggaofengxianqu 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateZhonggaofengxianqu(Zhonggaofengxianqu zhonggaofengxianqu)
    {
        return zhonggaofengxianquMapper.updateZhonggaofengxianqu(zhonggaofengxianqu);
    }

    /**
     * 删除【请填写功能名称】对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteZhonggaofengxianquByIds(String ids)
    {
        return zhonggaofengxianquMapper.deleteZhonggaofengxianquByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteZhonggaofengxianquById(String id)
    {
        return zhonggaofengxianquMapper.deleteZhonggaofengxianquById(id);
    }
}
